----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  D:\Vicard\VV\re\inprogress\BRV\results\Table_A6.log
  log type:  text
 opened on:  29 Sep 2017, 19:32:16

. 
. use "$Output\dataset_brv_fe", clear

. 
. global condition  "entry_ele!=1994 & entry_ele!=1995"

. 
. tsset ijk year 
       panel variable:  ijk (unbalanced)
        time variable:  year, 1996 to 2005, but with gaps
                delta:  1 unit

. *Prior is now on prices
. g dprior_bertrand = res_fe_uv-l.res_fe_uv
(3,328,694 missing values generated)

. 
. * interactions with the shocks
. replace shock_nosign_bertrand = shock_nosign_bertrand
(0 real changes made)

. 
. gen shock_ele1          = shock_nosign_bertrand*age_ele1
(3,328,887 missing values generated)

. 
. forvalues x = 1(1)10{
  2.         g shock_ele1_`x'        = shock_ele1 * ele1_`x' 
  3.         }
(3,328,887 missing values generated)
(3,328,887 missing values generated)
(3,328,887 missing values generated)
(3,328,887 missing values generated)
(3,328,887 missing values generated)
(3,328,887 missing values generated)
(3,328,887 missing values generated)
(3,328,887 missing values generated)
(3,328,887 missing values generated)
(3,328,887 missing values generated)

. 
. eststo: reg dprior_bertrand shock_nosign_bertrand age_ele1                                    if $condition, r cluster(i)

Linear regression                               Number of obs     =  1,883,748
                                                F(2, 45996)       =      37.21
                                                Prob > F          =     0.0000
                                                R-squared         =     0.0001
                                                Root MSE          =     .63429

                                          (Std. Err. adjusted for 45,997 clusters in i)
---------------------------------------------------------------------------------------
                      |               Robust
      dprior_bertrand |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
----------------------+----------------------------------------------------------------
shock_nosign_bertrand |  -.0042682   .0006923    -6.17   0.000    -.0056251   -.0029113
             age_ele1 |   .0014157   .0002565     5.52   0.000      .000913    .0019185
                _cons |  -.0058973   .0010217    -5.77   0.000    -.0078998   -.0038948
---------------------------------------------------------------------------------------
(est1 stored)

. eststo: reg dprior_bertrand shock_nosign_bertrand age_ele1 shock_ele1 if $condition, r cluster(i)

Linear regression                               Number of obs     =  1,883,748
                                                F(3, 45996)       =      25.07
                                                Prob > F          =     0.0000
                                                R-squared         =     0.0001
                                                Root MSE          =     .63429

                                          (Std. Err. adjusted for 45,997 clusters in i)
---------------------------------------------------------------------------------------
                      |               Robust
      dprior_bertrand |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
----------------------+----------------------------------------------------------------
shock_nosign_bertrand |  -.0053516   .0011638    -4.60   0.000    -.0076327   -.0030706
             age_ele1 |   .0013721   .0002526     5.43   0.000     .0008771    .0018672
           shock_ele1 |   .0003056    .000234     1.31   0.191     -.000153    .0007642
                _cons |  -.0058428   .0010162    -5.75   0.000    -.0078345   -.0038512
---------------------------------------------------------------------------------------
(est2 stored)

. eststo: reg dprior_bertrand shock_nosign_bertrand age_ele1 shock_ele1 if $condition, vce(bootstrap)
(running regress on estimation sample)

Bootstrap replications (50)
----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5 
..................................................    50

Linear regression                               Number of obs     =  1,883,748
                                                Replications      =         50
                                                Wald chi2(3)      =      95.01
                                                Prob > chi2       =     0.0000
                                                R-squared         =     0.0001
                                                Adj R-squared     =     0.0001
                                                Root MSE          =     0.6343

---------------------------------------------------------------------------------------
                      |   Observed   Bootstrap                         Normal-based
      dprior_bertrand |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
----------------------+----------------------------------------------------------------
shock_nosign_bertrand |  -.0053516   .0011523    -4.64   0.000    -.0076101   -.0030932
             age_ele1 |   .0013721   .0002414     5.68   0.000     .0008989    .0018453
           shock_ele1 |   .0003056   .0002654     1.15   0.250    -.0002146    .0008259
                _cons |  -.0058428   .0010481    -5.57   0.000     -.007897   -.0037886
---------------------------------------------------------------------------------------
(est3 stored)

. eststo: reg dprior_bertrand shock_ele1_* ele1_*            if $condition, r cluster(i)
note: shock_ele1_1 omitted because of collinearity
note: ele1_1 omitted because of collinearity
note: ele1_10 omitted because of collinearity

Linear regression                               Number of obs     =  1,883,748
                                                F(17, 45996)      =       5.76
                                                Prob > F          =     0.0000
                                                R-squared         =     0.0001
                                                Root MSE          =     .63428

                                  (Std. Err. adjusted for 45,997 clusters in i)
-------------------------------------------------------------------------------
              |               Robust
dprior_bert~d |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
 shock_ele1_1 |          0  (omitted)
 shock_ele1_2 |  -.0026309   .0005328    -4.94   0.000    -.0036752   -.0015866
 shock_ele1_3 |  -.0014958   .0003674    -4.07   0.000    -.0022159   -.0007756
 shock_ele1_4 |  -.0011238   .0003428    -3.28   0.001    -.0017958   -.0004518
 shock_ele1_5 |  -.0002367   .0003615    -0.65   0.513    -.0009453    .0004719
 shock_ele1_6 |  -.0010066   .0003134    -3.21   0.001    -.0016208   -.0003923
 shock_ele1_7 |  -.0007898   .0003054    -2.59   0.010    -.0013884   -.0001913
 shock_ele1_8 |  -.0000663   .0003267    -0.20   0.839    -.0007066     .000574
 shock_ele1_9 |   -.000308   .0003716    -0.83   0.407    -.0010363    .0004204
shock_ele1_10 |   .0006564   .0004857     1.35   0.177    -.0002957    .0016084
       ele1_1 |          0  (omitted)
       ele1_2 |  -.0035165    .005347    -0.66   0.511    -.0139968    .0069638
       ele1_3 |   .0032151    .005336     0.60   0.547    -.0072434    .0136737
       ele1_4 |   .0036123   .0053933     0.67   0.503    -.0069586    .0141833
       ele1_5 |   .0060081   .0054777     1.10   0.273    -.0047282    .0167445
       ele1_6 |   .0042994   .0056042     0.77   0.443    -.0066848    .0152837
       ele1_7 |   .0025226   .0056169     0.45   0.653    -.0084866    .0135318
       ele1_8 |   .0056325   .0061863     0.91   0.363    -.0064928    .0177577
       ele1_9 |  -.0002684   .0072261    -0.04   0.970    -.0144317    .0138949
      ele1_10 |          0  (omitted)
        _cons |  -.0019367   .0052435    -0.37   0.712    -.0122141    .0083408
-------------------------------------------------------------------------------
(est4 stored)

. 
. set linesize 250

. esttab, mtitles drop(_cons) b(%5.3f) se(%5.3f) compress r2 starlevels(c 0.1 b 0.05 a 0.01)  se 

------------------------------------------------------
                 (1)        (2)        (3)        (4) 
                est1       est2       est3       est4 
------------------------------------------------------
shock_no~d    -0.004a    -0.005a    -0.005a           
             (0.001)    (0.001)    (0.001)            

age_ele1       0.001a     0.001a     0.001a           
             (0.000)    (0.000)    (0.000)            

shock_ele1                0.000      0.000            
                        (0.000)    (0.000)            

shock_e~_1                                      0.000 
                                                  (.) 

shock_el~2                                     -0.003a
                                              (0.001) 

shock_el~3                                     -0.001a
                                              (0.000) 

shock_el~4                                     -0.001a
                                              (0.000) 

shock_el~5                                     -0.000 
                                              (0.000) 

shock_el~6                                     -0.001a
                                              (0.000) 

shock_el~7                                     -0.001a
                                              (0.000) 

shock_el~8                                     -0.000 
                                              (0.000) 

shock_el~9                                     -0.000 
                                              (0.000) 

shock_e~10                                      0.001 
                                              (0.000) 

ele1_1                                          0.000 
                                                  (.) 

ele1_2                                         -0.004 
                                              (0.005) 

ele1_3                                          0.003 
                                              (0.005) 

ele1_4                                          0.004 
                                              (0.005) 

ele1_5                                          0.006 
                                              (0.005) 

ele1_6                                          0.004 
                                              (0.006) 

ele1_7                                          0.003 
                                              (0.006) 

ele1_8                                          0.006 
                                              (0.006) 

ele1_9                                         -0.000 
                                              (0.007) 

ele1_10                                         0.000 
                                                  (.) 
------------------------------------------------------
N            1883748    1883748    1883748    1883748 
R-sq           0.000      0.000      0.000      0.000 
------------------------------------------------------
Standard errors in parentheses
c p<0.1, b p<0.05, a p<0.01

. esttab, mtitles drop(_cons) b(%5.3f) se(%5.3f) r2  starlevels({$^c$} 0.1 {$^b$} 0.05 {$^a$} 0.01) se tex label  title() 

{
\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
\begin{tabular}{l*{4}{c}}
\hline\hline
                    &\multicolumn{1}{c}{(1)}&\multicolumn{1}{c}{(2)}&\multicolumn{1}{c}{(3)}&\multicolumn{1}{c}{(4)}\\
                    &\multicolumn{1}{c}{est1}&\multicolumn{1}{c}{est2}&\multicolumn{1}{c}{est3}&\multicolumn{1}{c}{est4}\\
\hline
a/sigma(t-1), bertrand, excl. insign. beta&      -0.004{$^a$}&      -0.005{$^a$}&      -0.005{$^a$}&                  \\
                    &     (0.001)      &     (0.001)      &     (0.001)      &                  \\
[1em]
Age$ \_{ijkt}$       &       0.001{$^a$}&       0.001{$^a$}&       0.001{$^a$}&                  \\
                    &     (0.000)      &     (0.000)      &     (0.000)      &                  \\
[1em]
shock\_ele1          &                  &       0.000      &       0.000      &                  \\
                    &                  &     (0.000)      &     (0.000)      &                  \\
[1em]
shock\_ele1\_1        &                  &                  &                  &       0.000      \\
                    &                  &                  &                  &         (.)      \\
[1em]
shock\_ele1\_2        &                  &                  &                  &      -0.003{$^a$}\\
                    &                  &                  &                  &     (0.001)      \\
[1em]
shock\_ele1\_3        &                  &                  &                  &      -0.001{$^a$}\\
                    &                  &                  &                  &     (0.000)      \\
[1em]
shock\_ele1\_4        &                  &                  &                  &      -0.001{$^a$}\\
                    &                  &                  &                  &     (0.000)      \\
[1em]
shock\_ele1\_5        &                  &                  &                  &      -0.000      \\
                    &                  &                  &                  &     (0.000)      \\
[1em]
shock\_ele1\_6        &                  &                  &                  &      -0.001{$^a$}\\
                    &                  &                  &                  &     (0.000)      \\
[1em]
shock\_ele1\_7        &                  &                  &                  &      -0.001{$^a$}\\
                    &                  &                  &                  &     (0.000)      \\
[1em]
shock\_ele1\_8        &                  &                  &                  &      -0.000      \\
                    &                  &                  &                  &     (0.000)      \\
[1em]
shock\_ele1\_9        &                  &                  &                  &      -0.000      \\
                    &                  &                  &                  &     (0.000)      \\
[1em]
shock\_ele1\_10       &                  &                  &                  &       0.001      \\
                    &                  &                  &                  &     (0.000)      \\
[1em]
Age dummy, 1 years  &                  &                  &                  &       0.000      \\
                    &                  &                  &                  &         (.)      \\
[1em]
Age dummy, 2 years  &                  &                  &                  &      -0.004      \\
                    &                  &                  &                  &     (0.005)      \\
[1em]
Age dummy, 3 years  &                  &                  &                  &       0.003      \\
                    &                  &                  &                  &     (0.005)      \\
[1em]
Age dummy, 4 years  &                  &                  &                  &       0.004      \\
                    &                  &                  &                  &     (0.005)      \\
[1em]
Age dummy, 5 years  &                  &                  &                  &       0.006      \\
                    &                  &                  &                  &     (0.005)      \\
[1em]
Age dummy, 6 years  &                  &                  &                  &       0.004      \\
                    &                  &                  &                  &     (0.006)      \\
[1em]
Age dummy, 7 years  &                  &                  &                  &       0.003      \\
                    &                  &                  &                  &     (0.006)      \\
[1em]
Age dummy, 8 years  &                  &                  &                  &       0.006      \\
                    &                  &                  &                  &     (0.006)      \\
[1em]
Age dummy, 9 years  &                  &                  &                  &      -0.000      \\
                    &                  &                  &                  &     (0.007)      \\
[1em]
Age dummy, 10 years &                  &                  &                  &       0.000      \\
                    &                  &                  &                  &         (.)      \\
\hline
Observations        &     1883748      &     1883748      &     1883748      &     1883748      \\
\(R^{2}\)           &       0.000      &       0.000      &       0.000      &       0.000      \\
\hline\hline
\multicolumn{5}{l}{\footnotesize Standard errors in parentheses}\\
\multicolumn{5}{l}{\footnotesize {$^c$} p<0.1, {$^b$} p<0.05, {$^a$} p<0.01}\\
\end{tabular}
}

. eststo clear

. 
. log close
      name:  <unnamed>
       log:  D:\Vicard\VV\re\inprogress\BRV\results\Table_A6.log
  log type:  text
 closed on:  29 Sep 2017, 19:37:02
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
